home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-03
/
qbasicpg.zip
/
FOR-3.BAS
< prev
next >
Wrap
BASIC Source File
|
1989-08-31
|
296b
|
12 lines
' FOR-3.BAS
' This program uses a FOR loop and the COLOR statement
' to demonstrate the various foreground colors.
CLS
FOR i% = 1 TO 15 ' use colors 1 through 15
COLOR i% ' use value of i% for color
PRINT "This line is printed using color"; i%
NEXT i%